package com.mk.admin.mapper;

import com.mk.admin.model.dto.DoctorDto;
import com.mk.admin.model.entity.DoctorEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DoctorMapper extends MKBaseMapper<DoctorEntity> {
    List<DoctorDto> select(DoctorEntity copy);

    List<DoctorDto> selectByDeptOrDoctor(DoctorEntity entity);

    int selectByDeptOrDoctorCount(DoctorEntity entity);

    int serviceNum(DoctorEntity entity);

    int evaluateNum(DoctorEntity entity);

    int likesNum(DoctorEntity entity);

    int forwardsNum(DoctorEntity entity);

    int updateAddress(DoctorEntity updateEntity);
}
